//
//  UIColor+ColorRGB.m
//  j绝版新闻客户端
//
//  Created by weige on 16/5/8.
//  Copyright © 2016年 weige. All rights reserved.
//

#import "UIColor+ColorRGB.h"

@implementation UIColor (ColorRGB)

+(UIColor *)colorWithCustom:(CGFloat )r andGreen:(CGFloat )g andBlue:(CGFloat )b
{
    return [UIColor colorWithRed:r/255.0 green:g/255.0 blue:b/255.0 alpha:1];
    //return UIColor(r / 255.0, green: g / 255.0, blue: b / 255.0, alpha: 1)
}
@end
